FROM python:3.7
WORKDIR /drf_admin

# 方便缓存，下次构建不需要重新下载py依赖
COPY ./requestment.txt .
RUN pip install -i https://mirrors.aliyun.com/pypi/simple  -r requestment.txt

COPY . .
EXPOSE 8383
CMD cd src && gunicorn meiduo_admin.wsgi -b 0.0.0.0:8383